package com.liu.student.service;

import com.liu.student.entity.Course;

import java.util.List;

public interface CourseService {
    List<Course> findAll();
    List<Course> findAvailableCourses();
    List<Course> findByTeacherId(Long teacherId);
    Course findById(Long id);
    void save(Course course);
    void update(Course course);
    void deleteById(Long id);
    long count();
}